<form action="" method="post" name="form" id="form">
    <table width="100%" cellspacing="0" cellpadding="2" border="0">
        <tbody>
        <tr class="dataTableHeadingRow">
            <td class="dataTableHeadingContent">Categorias / Productos</td>
            <td align="center" class="dataTableHeadingContent">Estado</td>
            <td align="right" class="dataTableHeadingContent">Acción&nbsp;</td>
        </tr>
        <?php foreach ($registros as $item): ?>
        <tr class="dataTableRow">
            <td class="dataTableContent"><a><img border="0" title=" Ver " alt="Ver" src="/imagenes/iconos/preview.gif"></a>&nbsp;<?php echo $item['nombre'];?></td>
            <td  align="center" class="dataTableContent"><a><img width="10" height="10" border="0" title=" Activar " alt="Activar"
                                                                 src="/imagenes/iconos/icon_status_green_light.gif"></a>&nbsp;&nbsp;<img width="10" height="10" border="0"
                                                                                                                                         title=" Desactivado "
                                                                                                                                         alt="Desactivado"
                                                                                                                                         src="/imagenes/iconos/icon_status_red.gif"></td>
            <td align="right" class="dataTableContent"><a><img border="0" title=" Datos " alt="Datos" src="/imagenes/iconos/icon_info.gif"></a>&nbsp;
            </td>
         </tr>
            <?php endforeach;?>
        <tr>
            <td colspan="3">
                <table width="100%" cellspacing="0" cellpadding="2" border="0">
                    <tbody>
                    <tr>
                        <td class="smallText">Categorias:&nbsp;<?php echo $totalCategorias?><br>Productos:&nbsp;<?php echo $totalProductos ?></td>
                        <td align="right" class="smallText"><a
                            ><img border="0" title=" Volver " alt="Volver"  src="/imagenes/buttons/btn_volver.png"></a>&nbsp;
                            <a><img border="0" title=" Nueva Categoria " alt="Nueva Categoria"
                            src="/imagenes/buttons/button_new_category.fw.png"></a>&nbsp;<a
                            ><img
                            border="0" title=" Nuevo Producto " alt="Nuevo Producto"
                            src="/imagenes/buttons/button_new_product.fw.png"></a>&nbsp;</td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        </tbody>
    </table>
</form>
